package com.frogs.ucenter.v1.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserMessageDmOperRecordDao;
import com.frogs.ucenter.entity.UserMessageDmOperRecord;
import com.frogs.ucenter.v1.service.UserMessageDmOperRecordService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userMessageDmOperRecordService")
public class UserMessageDmOperRecordServiceImpl extends BaseServiceImpl<UserMessageDmOperRecord> implements UserMessageDmOperRecordService {
    @Autowired
    private UserMessageDmOperRecordDao userMessageDmOperRecordDao;

    public UserMessageDmOperRecordServiceImpl() {
        super();
    }

    public UserMessageDmOperRecordDao getUserMessageDmOperRecordDao() {
        return userMessageDmOperRecordDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserMessageDmOperRecord> getBaseDao() {
        return userMessageDmOperRecordDao;
    }

    public void setUserMessageDmOperRecordDao(UserMessageDmOperRecordDao userMessageDmOperRecordDao) {
        this.userMessageDmOperRecordDao = userMessageDmOperRecordDao;
    }
}